---
import StarlightHead from "@astrojs/starlight/components/Head.astro";
import { ClientRouter } from "astro:transitions";
import { pwaInfo } from 'virtual:pwa-info';
---

{pwaInfo && <Fragment set:html={pwaInfo.webManifest.linkTag} />}
<script src="/src/scripts/pwa.ts"></script>
<StarlightHead {...Astro.props}>
  <slot />
</StarlightHead>
<ClientRouter />
